package org.simplextensions.ui.view;

import org.eclipse.swt.graphics.Image;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public abstract class ASWTView extends AView<ISWTViewRegion> {

	private static final Logger log = LoggerFactory.getLogger(ASWTView.class);

	public void init(ISWTViewRegion viewRegion) {
		super.init(viewRegion);
		log.trace("init: " + getClass().getCanonicalName());
		viewRegion.setImage(getImage());
	}

	protected Image getImage() {
		return null;
	}

	public void dispose() {
	}

}
